const state = {
   title: 'Taro Hello!',
};

const mutations = {
    SET_TITLE(state, val){
      state.title = val
    }
};

const actions = {
  setTitle({commit}, val){
    commit('SET_TITLE', val)
  }
};

export default {
    namespaced: true,
    state,
    mutations,
    actions
};
